package com.gitee.l0km.casban.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.gitee.l0km.common.spring.core.annotation.AliasFor;

/**
 * 指定该类为可提供常量定义
 * @author guyadong
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.ANNOTATION_TYPE})
@ScanConfig
public @interface CasbanComponent {
	@AliasFor(AnnotationFieldNames.ASSOCIATED)
	String value() default "";
	@AliasFor(AnnotationFieldNames.VALUE)
	String associated() default "";
	@AliasFor(annotation = ScanConfig.class,attribute=AnnotationFieldNames.SUB_CLASS_FIRSTLY)
	boolean subClassFirstly() default true;
}
